package com.ghpt.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

/**
 *
 * @TableName pland
 */
@Data
public class Pland {
    /**
     * 主键，每条记录的ID
     */
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 短期规划的规划年限
     */
    private Integer value;

    public Pland(String id, Integer value) {
        this.id = id;
        this.value = value;
    }

    @Override
    public String toString() {
        return "Pland{" +
                "id=" + id +
                ", value=" + value +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }
}